package com.supreme.studyserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "test")
public class MysqlTest {

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private String firstName;

    /**
     *
     */
    private String lastName;

    @TableField(exist = false)
    private List<String> ids;

    private static final long serialVersionUID = 1L;
}
